﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SCM.Domain.Ledger
{
    /// <summary>
    /// 库存预警
    /// </summary>
    public class WarnModel
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id {  get; set; }
        /// <summary>
        /// 产品Id
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 当前库存
        /// </summary>
        public int CurrentStock {  get; set; }
         /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        
        /// <summary>
        /// 类别编号
        /// </summary>
        public int CategoryId { get; set; }
        /// <summary>
        /// 产品规格
        /// </summary>
        public string Specifications { get; set; }
        /// <summary>
        /// 当前库存
        /// </summary>
        public int Stocknum { get; set; }
        /// <summary>
        /// 库存下限
        /// </summary>
        public int Lower {  get; set; }
        /// <summary>
        /// 库存上限
        /// </summary>
        public int Upper { get; set; }
        public bool IsDel {  get; set; }=false;
    }
}
